package com.usian.behavior.service;

import com.usian.behavior.entity.ApUnlikesBehavior;
import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.behavior.dtos.UnLikesBehaviorDto;

/**
 * <p>
 * APP不喜欢行为表 服务类
 * </p>
 *
 * @author usian
 * @since 2022-10-14
 */
public interface IApUnlikesBehaviorService extends IService<ApUnlikesBehavior> {

//    保存或更新 不喜欢行为
    void unLike(UnLikesBehaviorDto dto);

//    查询文章是否被不喜欢
    ApUnlikesBehavior findUnLikeByArticleId(Integer userId, String equipmentId, Long articleId);
}
